<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
<!-- Address.qdoc -->
  <meta name="description" content="Visa地址封装类型.">
  <title>Address Struct | OpenVisa 0.15.0</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
    <div class="main">
    <div class="main-rounded">
        <div class="navigationbar">
        <ul>
<li><a href="index.html">OpenVisa 0.15.0</a></li>
<li><a href="openvisa-module.html" translate="no">OpenVisa</a></li>
<li>Address</li>
<li id="buildversion">OpenVisa 0.15.0 Reference Documentation</li>
    </ul>
    </div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3 id="toc">Contents</h3>
<ul>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title" translate="no">Address Struct</h1>
<span class="small-subtitle" translate="no">template &lt;OpenVisa::AddressType type&gt; struct <a href="openvisa-module.html" translate="no">OpenVisa</a>::Address</span>
<!-- $$$Address-brief -->
<p>Visa地址封装类型. <a href="#details">More...</a></p>
<!-- @@@Address -->
<div class="table"><table class="alignedsummary requisites" translate="no">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <code translate="no">#include &lt;Address.h&gt;</code></td></tr>
</table></div>
<!-- $$$Address-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<ul>
<li><a href="openvisa-address.html" translate="no">OpenVisa::Address</a>&lt;<a href="openvisa.html#AddressType-enum" translate="no">OpenVisa::AddressType::RawSocket</a>&gt;(std::string_view ip, unsigned short port)<ul>
<li>原始socket连接.</li>
</ul>
</li>
</ul>
<ul>
<li><a href="openvisa-address.html" translate="no">OpenVisa::Address</a>&lt;<a href="openvisa.html#AddressType-enum" translate="no">OpenVisa::AddressType::SerialPort</a>&gt;(std::string_view com)<ul>
<li>串口连接协议.</li>
</ul>
</li>
</ul>
<ul>
<li><a href="openvisa-address.html" translate="no">OpenVisa::Address</a>&lt;<a href="openvisa.html#AddressType-enum" translate="no">OpenVisa::AddressType::USB</a>&gt;(unsigned short vid, unsigned short pid, std::string_view sn)<ul>
<li>USB连接.</li>
</ul>
</li>
</ul>
<ul>
<li><a href="openvisa-address.html" translate="no">OpenVisa::Address</a>&lt;<a href="openvisa.html#AddressType-enum" translate="no">OpenVisa::AddressType::VXI11</a>&gt;(std::string_view ip, std::string_view subAddress = &quot;inst0&quot;)<ul>
<li>VXI11连接.</li>
</ul>
</li>
</ul>
<ul>
<li><a href="openvisa-address.html" translate="no">OpenVisa::Address</a>&lt;<a href="openvisa.html#AddressType-enum" translate="no">OpenVisa::AddressType::HiSLIP</a>&gt;(std::string_view ip, std::string_view subAddress = &quot;hislip0&quot;)<ul>
<li>HiSLIP连接.</li>
</ul>
</li>
</ul>
</div>
<!-- @@@Address -->
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> OpenVisa
   Documentation contributions included herein are the copyrights of
   their respective owners.<br/>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br/> </div>
</body>
</html>
